<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            /* capitalize首字母大小 lowercase全小写 uppercase全大写*/ 
            text-transform:capitalize;
            text-transform:lowercase;
            text-transform:uppercase;
            height:50px;
            font:italic 700 20px/50px 宋体
        }
    </style>
</head>
<body>
    <div>hello world</div>
</body>
</html>